import fs = require('node:fs');
// ! FAIL!
import h = require('./h.html');

const k1 = Object.keys(require.cache).length;
console.log('pre require A', k1);

import A = require('./A');
import foo = A.foo;
console.log(foo);

const k2 = Object.keys(require.cache).length;

console.log('post require A', k2);

type Foo = {
  [k: string]: string;
};
type Bar = {
  [k in 'name' | 'age']: k;
};
console.log(h);
